package com.yuneec.droneservice.protocol.analysis;

/**
 * Created by zd.zhang on 2017/10/28.
 */

public class ByteBuf {
    public byte[] buf;
    public int offset;
    public int length;

    public ByteBuf(int size) {
        this.buf = new byte[size];
    }

    public ByteBuf(byte[] buf, int offset, int length) {
        this.buf = buf;
        this.offset = offset;
        this.length = length;
    }
}
